<?php

get_header(); // Loads the header.php template. ?>		
		
		<div id="main" class="<?php echo $cv_option['blog_layout']; ?> clearfix">	
						
			<div class="center">			
				<div id="content" class="clearfix">
						
						<?php if ( have_posts() ) : ?>
							<?php global $entry_count; $entry_count = 0; ?>
							<?php while ( have_posts() ) : the_post(); $entry_count++;?>					

							   <?php get_template_part('entry-single'); ?>
								
							<?php endwhile; ?>								

						<?php else : ?>
							<?php get_template_part('no-results'); ?>				
						<?php endif; ?>					
							
			
				</div> <!-- #content -->		
			
				<?php get_sidebar( 'primary' );  ?>				

			</div><!-- .center -->
			
		</div><!-- #main -->		
	
	
<?php get_footer(); // Loads the footer.php template. ?>		